<template>
  <el-footer class="footer">
    <div class="footer-container">
      <div class="footer-content">
        <div class="footer-section">
          <h4>关于我们</h4>
          <p>专业的民宿预定平台</p>
          <p>为您提供优质的住宿体验</p>
        </div>
        <div class="footer-section">
          <h4>服务支持</h4>
          <p>24小时客服</p>
          <p>安全保障</p>
          <p>退改政策</p>
        </div>
        <div class="footer-section">
          <h4>联系方式</h4>
          <p>客服电话：400-123-4567</p>
          <p>邮箱：service@homestay.com</p>
        </div>
        <div class="footer-section">
          <h4>关注我们</h4>
          <div class="social-links">
            <el-icon><ChatDotRound /></el-icon>
            <el-icon><Share /></el-icon>
            <el-icon><Message /></el-icon>
          </div>
        </div>
      </div>
      <div class="footer-bottom">
        <p>&copy; 2024 民宿预定平台. 保留所有权利.</p>
      </div>
    </div>
  </el-footer>
</template>

<script setup>
// 页脚组件
</script>

<style scoped>
.footer {
  background: #2c3e50;
  color: #ecf0f1;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: #3498db;
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-section p {
  margin-bottom: 8px;
  color: #bdc3c7;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links .el-icon {
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s;
}

.social-links .el-icon:hover {
  color: #3498db;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #95a5a6;
  font-size: 14px;
}
</style>
